home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
allfiles
/
Zuper
/
Iamhere.dir
/
00068_Script_68
< prev
next >
Wrap
Text File
|
1999-04-26
|
1KB
|
65 lines
global invar
on startmovie
preload
set invar to 1
set the editable of member "nameinput" to true
end
on closeWindow
sound stop 1
sound stop 2
sound stop 3
sound stop 4
tell the stage to hideMovie
tell the stage to go to frame "iface"
end closeWindow
on keyDown
if the key = "q" then
set i to 1
repeat while i < 5
sound stop i
set i to i + 1
end repeat
play done
end if
end keyDown
on hangin
if invar < 10 then
go the frame
set invar to invar + 1
else
set invar to 1
end if
end
on clicksound
if the mousedown then
set randsound to random(3)
if randsound = 1 then
puppetsound 3, "i am here"
end if
if randsound = 2 then
puppetsound 3, "i can feel you"
end if
if randsound = 3 then
puppetsound 3, "touch me"
end if
end if
end
on remainhere
if the locH of sprite 1 < 105 then set the locH of sprite 1 to 105
if the locH of sprite 1 > 535 then set the locH of sprite 1 to 535
if the locV of sprite 1 < 85 then set the locV of sprite 1 to 85
if the locV of sprite 1 > 395 then set the locV of sprite 1 to 395
end
on followmouse son,factor
set differenceH to the mouseH - the locH of sprite son
set the locH of sprite son to the mouseH - differenceH*factor
set differenceV to the mouseV - the locV of sprite son
set the locV of sprite son to the mouseV - differenceV*factor
end